# $Id: Makefile.in,v 1.8 1999/04/19 07:18:09 wessels Exp $
#
prefix		= @prefix@
exec_prefix	= @exec_prefix@
top_srcdir	= @top_srcdir@
bindir		= @bindir@
libexecdir      = @libexecdir@
sysconfdir	= @sysconfdir@
localstatedir   = @localstatedir@
srcdir		= @srcdir@
VPATH		= @srcdir@
SH		= @SH@
RM		= @RM@
SHELL		= @SH@

INSTALL         	= @INSTALL@
INSTALL_FILE    	= @INSTALL_DATA@
DEFAULT_ICON_DIR        = $(sysconfdir)/icons

ICONS		= anthony-binhex.gif \
		  anthony-bomb.gif \
		  anthony-box.gif \
		  anthony-box2.gif \
		  anthony-c.gif \
		  anthony-compressed.gif \
		  anthony-dir.gif \
		  anthony-dirup.gif \
		  anthony-dvi.gif \
		  anthony-f.gif \
		  anthony-image.gif \
		  anthony-image2.gif \
		  anthony-layout.gif \
		  anthony-link.gif \
		  anthony-movie.gif \
		  anthony-pdf.gif \
		  anthony-portal.gif \
		  anthony-ps.gif \
		  anthony-quill.gif \
		  anthony-script.gif \
		  anthony-sound.gif \
		  anthony-tar.gif \
		  anthony-tex.gif \
		  anthony-text.gif \
		  anthony-unknown.gif \
		  anthony-xbm.gif \
		  anthony-xpm.gif

all:

icons.shar:
	shar --no-timestamp $(ICONS) > $@

install: install-mkdirs anthony-xpm.gif
	@for f in $(ICONS); do \
		if test -f $(DEFAULT_ICON_DIR)/$$f ; then \
			:; \
		else \
			echo "$(INSTALL_FILE) $$f $(DEFAULT_ICON_DIR)"; \
			$(INSTALL_FILE) $$f $(DEFAULT_ICON_DIR); \
		fi; \
	done

install-mkdirs:
	-@if test ! -d $(prefix); then \
		echo "mkdir $(prefix)"; \
		mkdir $(prefix); \
	fi
	-@if test ! -d $(sysconfdir); then \
		echo "mkdir $(sysconfdir)"; \
		mkdir $(sysconfdir); \
	fi
	-@if test ! -d $(DEFAULT_ICON_DIR); then \
		echo "mkdir $(DEFAULT_ICON_DIR)"; \
		mkdir $(DEFAULT_ICON_DIR); \
	fi

clean:


distclean: clean
	-rm -f Makefile
